// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Nav from "@/pages/Nav"
Vue.component('Nav',Nav)

Vue.config.productionTip = false

import {reqCateGoryList} from './api'
import { Axios } from 'axios'
import store from './store'
//发起请求
//reqCateGoryList();

Vue.prototype.$axios=Axios
Vue.prototype.API1= "/api"

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)
/* eslint-disable no-new */


import newPagination from '@/components/El/newPagination'
Vue.component('newPagination', newPagination)
new Vue({
  el: '#app',
  router,
  Nav,
  store,
  components: { App },
  template: '<App/>'
})
